package dataobjects;
/*
The idea is that app creates these Query implementations and the messages themselves are always created on server side. 
*/
public class AddMessage implements Query {
	String nickname, message;
	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Long getLatitude() {
		return latitude;
	}

	public void setLatitude(Long latitude) {
		this.latitude = latitude;
	}

	public Long getLongitude() {
		return longitude;
	}

	public void setLongitude(Long longitude) {
		this.longitude = longitude;
	}

	public Long getCategoryID() {
		return categoryID;
	}

	public void setCategoryID(Long categoryID) {
		this.categoryID = categoryID;
	}

	Long latitude, longitude, categoryID;
	
	public AddMessage(String nickname, String message, Long latitude,
			Long longitude, Long categoryID) {
		super();
		this.nickname = nickname;
		this.message = message;
		this.latitude = latitude;
		this.longitude = longitude;
		this.categoryID = categoryID;
	}

	public int getType() {
		return Query.ADD_MESSAGE;
	}

}
